<!--首页-usd本位合约-->
<template>
  <div class="cell">

    <div class="row">
      <text class="font32 text2">{{item.currency + T('永续')}}</text>
    </div>

    <div class="height20"></div>
    <div class="row">
      <div class="all">
        <text class="font24 text3">{{T('账户权益(USDT)')}}</text>
        <div class="height10"></div>
        <text class="font24 text2">{{eye?item.marginBalance:"******"}}</text>
      </div>

      <div class="all">
        <text class="font24 text3">{{T('强平价(USDT)')}}</text>
        <div class="height10"></div>
        <text class="font24 text2">{{eye?item.liquidationPrice:"******"}}</text>
      </div>

      <div class="all aend">
        <text class="font24 text3">{{T('担保资产率')}}</text>
        <div class="height10"></div>
        <text class="font24 text2">{{eye?item.riskRate:"******"}}</text>
      </div>
    </div>

    <div class="line line1"></div>
  </div>
</template>

<style src="@/_css/style.css" ></style>
<style scoped>
.cell {
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 40px;
  padding: 40px;
}
.line {
  position: absolute;
  height: 1px;
  bottom: 0;
  left: 0;
  right: 0;
}
</style>

<script>

import I18N from "@/_i18n/i18n";
var T = I18N.t;

export default {
  props:{
    eye:{
      type:Boolean,
      default:true,
    },
    item:{
      type:Object,
      default:undefined,
    },
  },

  data() {
    return {
      T:T,
    };
  },

  created() {
  },

  methods: {
  }
}
</script>

